package com.xwh.b2c.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 后台角色分组表
 * </p>
 *
 * @author xoox
 * @since 2025-07-07
 */
@Data
@TableName("tb_admin_role")
public class AdminRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 权限
     */
    private String rights;

    /**
     * 删除状态 1删除,0正常
     */
    private Boolean isDel;
}
